package org.jeecg.modules.util;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 王鹏
 * @version 1.0
 * @description
 * @date 2020/9/5 12:01
 */
public class SplitUtil {
    public static String splitutil(String a){
        List<String> list = new ArrayList<>();
        String b = "";
        // 去掉前边的路径
        String[] spllit = a.split(ConstantDiy.IMG_URL_FONT);
        for (String string : spllit) {
            String[] split = string.split("\"");
            for (String string2 : split) {
                String[] split2 = string2.split("\"");
                for (String string3 : split2) {
                    list.add(string3);
                }
            }
        }
        for (int i = 1; i < list.size() - 1; i++) {
            b = b + list.get(i);
        }
        return b;
    }
}
